package com.cap.bts.crmdp.dealer.meal.domain;

import java.io.Serializable;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.cap.bts.framework.common.domain.BaseDomain;

@Entity
@Table(name = "tm_raw_package_dealer_select")
@AttributeOverrides({
                     @AttributeOverride(name = "createBy", column = @Column(name = "CREATE_BY")),
                     @AttributeOverride(name = "createDate", column = @Column(name = "CREATE_DATE", nullable = false)),
                     @AttributeOverride(name = "lastUpdateBy", column = @Column(name = "LAST_UPDATE_BY")),
                     @AttributeOverride(name = "lastUpdateDate", column = @Column(name = "LAST_UPDATE_DATE")) })
public class PackageDealerSelected extends BaseDomain implements Serializable {
    private static final long serialVersionUID = 8992485389224183898L;

    private Long id;

    private Long packageDefId;

    private int dealerId;
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	@Column(name = "package_def_id")
	public Long getPackageDefId() {
		return packageDefId;
	}

	public void setPackageDefId(Long packageDefId) {
		this.packageDefId = packageDefId;
	}
	@Column(name = "dealer_id")
	public int getDealerId() {
		return dealerId;
	}

	public void setDealerId(int dealerId) {
		this.dealerId = dealerId;
	}

}
